package ua.com.globallogic.training.subway;

import java.util.Date;

public class TimeBoundCardState extends CardState {
    private Date expirationDate;

    public TimeBoundCardState(long id, Date expirationDate) {
        super(id);
        this.expirationDate = expirationDate;
    }

    @Override
    public void chargeOneTrip() {

    }

    public Date getExpirationDate() {
        return expirationDate;
    }
}
